1 package net.sourceforge.simplegamenet;
2
3 import java.util.ArrayList;
4 import java.util.List;
5 import net.sourceforge.simplegamenet.chess.ChessFactory;
6 import net.sourceforge.simplegamenet.connectaline.CALFactory;
7 import net.sourceforge.simplegamenet.dice.DiceFactory;
8 import net.sourceforge.simplegamenet.framework.gui.SimpleGameNetFrame;
9 import net.sourceforge.simplegamenet.framework.GameFactoryManager;
10
11 /***
12 * User: Geoffrey Date: 25-mei-2004 Time: 21:41:31
13 */
14 public class StaticLoadingMain {
15
16 public static void main(String[] args) {
17 List gamesFactoriesList = new ArrayList(8);
18 gamesFactoriesList.add(new ChessFactory());
19 gamesFactoriesList.add(new CALFactory());
20 gamesFactoriesList.add(new DiceFactory());
21
22
23 GameFactoryManager.loadGamesStaticly(gamesFactoriesList);
24 SimpleGameNetFrame.createSimpleGameNetFrame();
25 }
26 }